#ifndef  __CAN_TASK_H_
#define  __CAN_TASK_H_

#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "semphr.h"
#include "BspDeviceID.h"
#include "BspCan.h"

extern TypeDefBspCanStruct can_handle;

void CanTask(void *pvParameters);
void CanProtoReg(void (*protocol_rx)(uint16_t ID,uint8_t *Dat,uint8_t Len));
void Can_poll(void);
void Can_init(void);
#endif
